package com.ctgu.j08.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctgu.j08.vo.Department;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {
    int deleteByPrimaryKey(Integer departId);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer departId);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    Department selectByDepartName(String departName);

    List<Department> getAllDepartInfo();
}